<template>
	<view style="padding:10rpx 20rpx 200rpx 20rpx;">
		<rich-text :nodes="agreementContent"></rich-text>
		<button class="button" @click="over">确定</button>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				agreementContent: ''
			}
		},
		onLoad() {
			this.$myRuquest('home/index/account_det',{show_zt:1}).then(res=>{
				uni.setNavigationBarTitle({
							title:res.data.title||'登录协议'
						})
				this.agreementContent=res.data.content
			})
		},
		methods:{
			over(){
				uni.navigateBack({
					delta:1
				})
			}
		}

	}
</script>

<style scoped>
	.button {
		width: 540upx;
		height: 100rpx;
		line-height: 100rpx;
		letter-spacing: 3rpx;
		/* 		position: relative;
		top: 100rpx; */
		margin-top: 40upx;
		border-radius: 50rpx;
		background: linear-gradient(to right, #35C3DC, #76D8E9);
		color: white;
		font-size: 35rpx;
		
		position: fixed;
		bottom: 80upx;
		left: 50%;
		transform: translateX(-50%);

		/* font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif; */
	}
</style>
